FROM openjdk:8-jdk-alpine
ADD JMS_jar/*.jar /

# ENV TIME_ZONE Asia/Shanghai
 
# RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \
#     && apt-get update \
#     && apt-get install -y tzdata \
#     && ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone \
#     && dpkg-reconfigure -f noninteractive tzdata \
#     && apt-get clean \
#     && rm -rf /tmp/*


EXPOSE 9001
ENTRYPOINT ["java","-jar","/JMS.jar"]